/*
 * Licensed to The Apereo Foundation under one or more contributor license
 * agreements. See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 *
 * The Apereo Foundation licenses this file to you under the Educational
 * Community License, Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of the License
 * at:
 *
 *   http://opensource.org/licenses/ecl2.txt
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations under
 * the License.
 *
 */


// Main Modal Header
// -----------------
.modal > header {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    line-height: 40px;
    @include linear-gradient(top, #fbfbfb, #e8e8e8);
    border-bottom: 1px solid $main-border-color;
    @include border-top-radius($main-border-radius);
    padding: 0 20px;

    > h2 {
        font-weight: bold;
        color: $modal-heading-color;
        text-shadow: 0px 1px 0px #fff;
        font-size: 17px;
    }

    > a {
        float: right;
        font-size: 18px;
        margin-top: 10px;
        margin-right: -8px;
    }
}



// Modal Object Headers
// --------------------

// Collapsed state
// ## Refactor out !important tags
.collapsed {

    > header {
        margin-bottom: 0 !important;
        border-bottom: 0 !important;
        border-radius: $main-border-radius !important;

        &:after {
            @include transform(rotate(180deg));
        }
    }

    > .obj-container {
        display: none;
    }
}
